package com.webcash.CNBoard.Repository;

import java.util.List;

import com.webcash.CNBoard.Model.Employee;
import com.webcash.CNBoard.Model.Team;

public interface EmployeeRepository {
	Employee selectEmployeeById(String id);
	List<Employee> selectDeptInEmployeeList(int deptNo);
	Employee isValidPassword(String id, String password);
	void updateEmployeeAccountbyEmp(Employee emp);
	void updateEmployeeAccountImgPathbyEmp(Employee emp);
	List<Employee> selectTeamMemberListbyDeptNoAndTeamNo(Employee emp);
	List<Employee> selectTeamMemberListbyDeptNoAndTeamNo(Team team);
	Employee selectEmployeeByEmpNo(int empNo);
	void insertEmployeeByEmp(Employee emp);
	List<Employee> selectAllEmployee();
	Team selectMyTeamInfoByTeamNoAndDeptNo(String teamNo, String deptNo);
}
